<?php
/*
 * Template Name: Home Page Template
 * Description: List links to all a persons friends
 *
 * @ Twyne
 */
 get_header();?>
		<div id="primary">
			<div id="content" role="main">

<<<<<<< HEAD
				<header class="entry-header">
					<h1 class="entry-title">Homepage</h1>
				</header><!-- .entry-header -->
				
			<div class = "home_top"	>
=======
				<?php  while ( have_posts() ) : 
						the_post();
						get_template_part( 'loop', 'front-page' ); //get the code from loop-front-page.php
					endwhile; // end of the loop.?>
			
>>>>>>> 08e9242118694eefb8d26ea90a32dedb013ead89
				<div class="home_groups">
						<label for="home_groups">My Groups</label>
						</br>
					<a href="<?php echo get_home_url()."/mygroups" ?>">
						<img src="<?php bloginfo('stylesheet_directory'); ?>/groups-pic.png"  width="150" height="100" /> 
					</a>
					
					</div><!--choose_group -->
				<div class = "home_profile">
						<label for="home_profile">My Profile</label>
						</br>	
						<a href="<?php echo bp_loggedin_user_domain() ?>"> <?php echo bp_core_fetch_avatar ( array( 'item_id' => $current_user->ID, 'type' => 'full' ) ); ?>  </a>
					</div><!--display_profile -->
				<div class = "home_messages">
					<label for="home_messages">My Messages</label>
					</br>
					<a href="<?php echo bp_loggedin_user_domain()."/messages" ?>">
						<img src="<?php bloginfo('stylesheet_directory'); ?>/email.png"  width="120" height="85" /> 
					</a>
					</br>
					
				</div><!--display_profile -->
			<div class = "home_connects">
						<label for="home_connects">My Connects</label>
						</br>	
						<a href="<?php echo get_home_url()."/my-connects" ?>">
							<img src="<?php bloginfo('stylesheet_directory'); ?>/connects.png" width="150" height="100" /> 
						</a>
			
					</div><!--display_profile -->
				
				
			</div><!-- #content -->
		</div><!-- #primary -->

<?php 
	get_sidebar('empty');
	get_footer(); ?>
					